<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class C_Cargos extends MY_Controller {

	function __construct(){
            
		parent::__construct();
                $this->load->helper('html');
                $this->load->helper('url');
	}

        function listarCargos(){

            $data['cargosList'] = $this->em->createQuery('SELECT c FROM models\Cargos c');

            $this->load->view('cargos/v_lista_cargos',$data);

        }
        
}